package com.ttbj.constant.order;


/**
 * 预约状态
 * @author Administrator
 *
 */
public enum StateEnum {
	/**
	 * 0-预约状态
	 */
	ORDER_RESERVE(0, "预约状态"),
	/**
	 * 1-业务员接单
	 */
	SALESMAN_RECEIVE_ORDER(1, "业务员接单"),
	/**
	 * 
	 * 2-上门确认
	 */
	SALESMAN_CONFIRM_ORDER(2, "上门确认"),
	/**
	 * 3-司机接单
	 */
	DRIVER_RECEIVE_ORDER(3, "司机接单"),
	/**
	 * 4-司机接货
	 */
	DRIVER_RECEIVE_CARGO(4, "司机接货"),
	/**
	 * 5-司机送达
	 */
	DRIVER_DELIVERY_CARGO (5, "司机送达"),
	/**
	 * 6-人工确认
	 */
	ORDER_ACKNOW(6, "人工确认"),
	/**
	 * 7-异常单
	 */
	ORDER_ERROR(7, "异常单");
	
	private int code;
	private String desc;
	
	private StateEnum(int code, String desc) {
		this.code = code;
		this.desc = desc;
	}
	
	public int getCode() {
		return code;
	}
	
	public String getDesc() {
		return desc;
	}


}
